package com.ithailong.reconsitutionmassion.service;

import com.ithailong.reconsitutionmassion.entity.FileModel;
import com.ithailong.reconsitutionmassion.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface FileService {
   //查询所有文件
   List<FileModel> selectAllFile(int pageNum, int pageSize, FileModel fileModel);
   //查询文件总数
   int selectTotal(FileModel fileModel);

   void saveFile(MultipartFile file, User user) throws IOException;
}
